package lab02.test35;

/**
 * Created by Adminitrator on 2017/11/20.
 */
public class Manager extends Employee {
double mouthsalary;
    public Manager(String name,double mouthsalary) {
        super(name);
       this.mouthsalary=mouthsalary;
    }
public double computesalary(){
        return mouthsalary;
}
    @Override
    public double computeSalary() {
        return mouthsalary;
    }
}
